package cn.kgc.ssm.mapper;

import cn.kgc.ssm.entity.Active;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author 课工场
 * @date 2024/3/7
 * @description
 */
public interface ActiveMapper {
    List<Active> getActives(String publisher);

    void addActive(Active active);

    Active selectById(Integer id);

    void updateActive(Active active);

    void deleteActive(@Param("ids") Integer[] ids);

    List<Active> selectNewActive();
}
